package com.matezk.sael.tencent;

import com.tencent.iot.explorer.device.java.data_template.DataTemplate;
import com.tencent.iot.explorer.device.java.data_template.TXDataTemplate;
import com.tencent.iot.explorer.device.java.data_template.TXDataTemplateDownStreamCallBack;
import com.tencent.iot.explorer.device.java.utils.CustomLog;
import com.tencent.iot.hub.device.java.core.mqtt.TXMqttConnection;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TencentDataTemplate  extends DataTemplate {

    private static final Logger LOG = LoggerFactory.getLogger(TXDataTemplate.class);
    private static final CustomLog CUSTOM_LOG = new CustomLog(LOG);

    public TencentDataTemplate(TXMqttConnection connection, String productId, String deviceName, String json, TXDataTemplateDownStreamCallBack downStreamCallBack) {
        super(connection, productId, deviceName, new TencentDataTemplateJson(json), downStreamCallBack, CUSTOM_LOG);
    }
}
